package com.zhangwei.mapper;

import com.zhangwei.pojo.GlobalConfig;
import com.zhangwei.utils.MyMapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface GlobalConfigMapper extends MyMapper<GlobalConfig> {

    List<GlobalConfig> selectAll();

    GlobalConfig selectById(int id);

    int insertOne(GlobalConfig globalConfig);

    int delById(int id);

    int updateOne(GlobalConfig globalConfig);
}